gh-120726: Fix warnings#120727
Conversation
|
Thanks, I had noticed this a few times already, but thought it was a macOS issue. |
|
|
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
vstinner
left a comment
There was a problem hiding this comment.
LGTM. But next time, try to find a better PR title, since this one is very generic. I will enhance it when I will merge your PR.
|
Do we backport this or do we close the issue? https://github.com/python/cpython/blob/3.13/Python/import.c |
|
GH-120729 is a backport of this pull request to the 3.13 branch. |
I didn't know that 3.13 was affected. I backported the change. |
…0727) Fix compiler warnings on is_core_module() and check_interpreter_whence(): only define them when assertions are built.
…0727) Fix compiler warnings on is_core_module() and check_interpreter_whence(): only define them when assertions are built.
…0727) Fix compiler warnings on is_core_module() and check_interpreter_whence(): only define them when assertions are built.
These functions are only used in assertions.
warning: unused function 'is_core_module' [-Wunused-function]#120726